/*
 * @Author: zhang gen yuan
 * @Date: 2021-10-18 10:57:34
 * @Descripttion: 
 */
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm'

@Entity()
export class User {
    @PrimaryGeneratedColumn()
    id: number

    @Column()
    name: string

    @Column()
    age: number
}